package io.github.junxworks.qt.modules.strategy.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import io.github.junxworks.ep.core.orm.TBaseMapper;
import io.github.junxworks.qt.modules.strategy.dto.SStrategyCondition;
import io.github.junxworks.qt.modules.strategy.entity.SStrategy;
import io.github.junxworks.qt.modules.strategy.vo.SStrategyVo;

@Mapper
public interface SStrategyMapper extends TBaseMapper<SStrategy> {

	List<SStrategyVo> queryList(SStrategyCondition condition);

	List<SStrategyVo> querySubStrategyList(SStrategyCondition condition);

	@Select("select * from s_strategy where id=#{id}")
	SStrategyVo querySStrategyById(@Param("id") Long id);

}